<template>
        <div id="setAddress">
            <header>
                <i @click="goBack()"></i>
                <div>设置地址</div>
                <span @click='goAddAddress'>新增地址</span>
            </header>
            <div>
                <div class='searchbox'>
                    <div class='search'>
                        <input type="text" placeholder="请输入地址关键词" >
                    </div>
                </div>
                <div class='border10'></div>
                <div class='position'>
                    <h3>定位</h3>
                    <h4 class='refresh'>定位失败，请刷新再试试!</h4>
                </div>
                <div class='border10'></div>
                <div class='position'>
                    <h3>我最近使用的地址</h3>
                    <h4>昌平区天通苑一区2单元1501室</h4>
                    <h4>昌平区天通苑一区2单元1502室</h4>
                    <h4>昌平区天通苑一区2单元1503室</h4>
                    <h4>昌平区天通苑一区2单元1504室</h4>
                </div>
            </div>
            
        </div>
    </template>
    <script>
        export default {
            data() {
                return {
        
                }
            },
            methods: {
                //返回上一级
                goBack() {
                    this.$router.back();
                },
                //新增地址
                goAddAddress() {
                    this.$router.push({name: 'addClinicAddress'});
                }
                
            },
            created() {
    
            }
        }
    
    </script>
    <style lang="scss" scoped>
       
    
    </style>